import request from '@/utils/request';
import { AxiosPromise } from 'axios';


/**
 * 修改
 * 
 * @param data
 */
export function updateMemberTag(data: any) {
  return request({
    url: '/api/member/tag/update',
    method: 'post',
    data
  });
}

/**
 * 添加
 *
 * @param data
 */
export function addMemberTag(data: any) {
  return request({
    url: '/api/member/tag/add',
    method: 'post',
    data
  });
}


/**
 * 获取List
 *
 * @param data
 */
export function getMemberTagList(data: any) {
  return request({
    url: '/api/member/tag/list',
    method: 'post',
    data
  });
}

/**
 * 获取详情
 *
 * @param data
 */
export function getMemberTagDetail(data: any) {
  return request({
    url: '/api/member/tag/detail',
    method: 'post',
    data
  });
}


/**
 * 删除List
 *
 * @param data
 */
export function deleteMemberTag(data: any) {
  return request({
    url: '/api/member/tag/delete',
    method: 'post',
    data
  });
}



